package com.ruoyi.yipaiju.service;

import java.util.List;
import com.ruoyi.yipaiju.domain.DemandOrder;

/**
 * fo_demand_orderService接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface IDemandOrderService 
{
    /**
     * 查询fo_demand_order
     * 
     * @param id fo_demand_order主键
     * @return fo_demand_order
     */
    public DemandOrder selectDemandOrderById(Long id);

    /**
     * 查询fo_demand_order列表
     * 
     * @param demandOrder fo_demand_order
     * @return fo_demand_order集合
     */
    public List<DemandOrder> selectDemandOrderList(DemandOrder demandOrder);
    public List<DemandOrder> selectDemandOrderList1(DemandOrder demandOrder);

    /**
     * 根据业务主键查询一条记录：fo_demand_order
     *
     * @param demandOrder fo_demand_order
     * @return fo_demand_order
     */
    public DemandOrder selectOneDemandOrder(DemandOrder demandOrder);

    /**
     * 新增fo_demand_order
     * 
     * @param demandOrder fo_demand_order
     * @return 结果
     */
    public int insertDemandOrder(DemandOrder demandOrder);

    /**
     * 修改fo_demand_order
     * 
     * @param demandOrder fo_demand_order
     * @return 结果
     */
    public int updateDemandOrder(DemandOrder demandOrder);

    /**
     * 修改fo_demand_order
     *
     * @param demandOrder fo_demand_order
     * @param demandOrder fo_demand_order条件
     * @return 结果
     */
    public int updateDemandOrderCondition(DemandOrder demandOrder, DemandOrder demandOrderCondition);

    /**
     * 批量删除fo_demand_order
     * 
     * @param ids 需要删除的fo_demand_order主键集合
     * @return 结果
     */
    public int deleteDemandOrderByIds(Long[] ids);

    /**
     * 删除fo_demand_order信息
     * 
     * @param id fo_demand_order主键
     * @return 结果
     */
    public int deleteDemandOrderById(Long id);

    /**
     * 条件删除fo_demand_order
     *
     * @param demandOrder fo_demand_order
     * @return 结果
     */
    public int deleteDemandOrderByCondition(DemandOrder demandOrder);
}
